package org.csu.onlineedubackend.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.csu.onlineedubackend.entity.Course;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data

public class CreateCourseDTO {
    private Course course;
//    private List<Chapter> chapters;
//    // key 为章节在 list 中的 index，value 是该章节下的课时
//    private Map<Integer, List<Lesson>> lessonsMap;

    private List<ChapterWithLessonsDTO> chapters;
}
